.box{
 width: 200px;
 height: 200px;
 background-color: red;
 transition: all 2s ease-in-out;
}
.box:hover{
     width: 500px;
     background-color: blue;
}